package com.jiangyg.mall.ware.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 类描述：采购需求合并采购单
 *
 * @author jiangyg
 * @version 4.0
 * @date 2021-12-06
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
public class PurchaseDetailCombineDTO implements Serializable {

    private static final long serialVersionUID = 7336921576604681658L;

    /**
     * 仓库ID
     */
    @NotNull
    private Long wareId;

    /**
     * 采购单ID
     */
    private Long purchaseId;

    /**
     * 采购需求ID集合
     */
    @NotNull
    private List<Long> purchasedetailIds;

}
